package ar.com.sebasoft.rembrandt.model;

/**
 * @author SebaSOFT
 * 
 */
public class Album implements Comparable<Album> {

	private String nombre = "";
	private String path = "";
	private Long thumbPath1 = null;
	private Long thumbPath2 = null;
	private Long thumbPath3 = null;
	private int cantFotos = 0;

	public Album(String nombre, String path) {
		this.nombre = nombre;
		this.path = path;
	}

	@Override
	public int compareTo(Album otro) {
		return this.path.compareTo(otro.getPath());
	}

	@Override
	public String toString() {
		return this.nombre + "|" + this.path;
	}

	/**
	 * @return the nombre
	 */
	public final String getNombre() {
		return this.nombre;
	}

	/**
	 * @param nombre
	 *            the nombre to set
	 */
	public final void setNombre(String nombre) {
		this.nombre = nombre;
	}

	/**
	 * @return the path
	 */
	public final String getPath() {
		return this.path;
	}

	/**
	 * @param path
	 *            the path to set
	 */
	public final void setPath(String path) {
		this.path = path;
	}

	public void sumarFoto() {
		this.cantFotos++;
	}

	public int getCantFotos() {
		return this.cantFotos;
	}

	/**
	 * @return the thumbPath1
	 */
	public final Long getThumbPath1() {
		return this.thumbPath1;
	}

	/**
	 * @param thumbPath1
	 *            the thumbPath1 to set
	 */
	public final void setThumbPath1(Long thumbPath1) {
		this.thumbPath1 = thumbPath1;
	}

	/**
	 * @return the thumbPath2
	 */
	public final Long getThumbPath2() {
		return this.thumbPath2;
	}

	/**
	 * @param thumbPath2
	 *            the thumbPath2 to set
	 */
	public final void setThumbPath2(Long thumbPath2) {
		this.thumbPath2 = thumbPath2;
	}

	/**
	 * @return the thumbPath3
	 */
	public final Long getThumbPath3() {
		return this.thumbPath3;
	}

	/**
	 * @param thumbPath3
	 *            the thumbPath3 to set
	 */
	public final void setThumbPath3(Long thumbPath3) {
		this.thumbPath3 = thumbPath3;
	}

}